package com.springboot.project.common.service.impl;

import com.springboot.project.common.entity.Log;
import com.springboot.project.common.dao.LogDao;
import com.springboot.project.common.service.LogService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 系统日志 服务实现类
 * </p>
 *
 * @author lby
 * @since 2018-06-11
 */
@Service
public class LogServiceImpl extends ServiceImpl<LogDao, Log> implements LogService {

    @Override
    public List<Log> list(Map<String, Object> map) {
        return baseMapper.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return baseMapper.count(map);
    }

    @Override
    public int delAll() {
        return baseMapper.delAll();
    }

}
